package com.easy.dao;

import com.easy.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UserDao {
    User getUserByUsername(@Param("username") String username);
    User getUserByID(@Param("id") Integer id);
    int editUser(@Param("user")User user);
    int add(@Param("user")User user);


}
